import Vue from 'vue'

Vue.mixin( {
  methods : {
    hasAuth(url) {
      let auth = this.$store.state.menu.authorizationList
      return auth.indexOf(url) > -1
    }
  }
})
